/**
 * 系统登录
 */
import fetch from 'service/fetch';
/* ============================== */
let baseurl = 'https://fc-mp-5632fc40-f047-42f3-8072-39dbd210a30e.next.bspapp.com';
/* ========================== */
export default {
  uploadResume(data) {
    return fetch(baseurl + '/human-admin/index/resume', { type: 'post', data: data });
  },
  repeatResume(data) {
    return fetch(baseurl + '/human-admin/index/similar', { type: 'post', data: data });
  },
  getTalentByName(data) {
    return fetch(baseurl + '/human-admin/index/getTalent', { type: 'post', data: data });
  },
  getBatchTalentByName(data) {
    return fetch(baseurl + '/human-admin/index/getBatchTalent', { type: 'post', data: data });
  },
  getRemoteCList(data) {
    return fetch(baseurl + '/human-admin/index/companys', { type: 'post', data: data });
  },
  getRemoteList(data) {
    return fetch(baseurl + '/human-admin/index/talents', { type: 'post', data: data });
  },
  getRemoteList2(data) {
    return fetch(baseurl + '/human-admin/index/talents2', { type: 'post', data: data });
  },
  getProjects(data) {
    return fetch(baseurl + '/human-admin/index/projects', { type: 'post', data: data });
  },
  joinProject(data) {
    return fetch(baseurl + '/human-admin/index/joinProject', { type: 'post', data: data });
  },
  addCallback(data) {
    return fetch(baseurl + '/human-admin/index/addCallBack', { type: 'post', data: data });
  },
  getTalentProject(data) {
    return fetch(baseurl + '/human-admin/index/getProject', { type: 'post', data: data });
  },
  getUserData(data) {
    return fetch(baseurl + '/human-admin/index/user', { type: 'post', data: data });
  }
};
